generated from Arquisoft/dede_0
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from Arquisoft/develop
Develop a master
- Loading branch information
Showing
49 changed files
with
46,886 additions
and
977 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Pruebas despliegue | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'uo68216-pruebas-despliegue' | ||
|
||
env: | ||
# Use docker.io for Docker Hub if empty | ||
REGISTRY: ghcr.io | ||
|
||
jobs: | ||
#Front-end | ||
docker-push-webapp: | ||
name: Push webapp Docker Image to GitHub Packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Publish to Registry | ||
uses: elgohr/[email protected] | ||
with: | ||
name: ${{ github.repository }}/webapp | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.DOCKER_PUSH_TOKEN }} | ||
registry: ${{ env.REGISTRY }} | ||
workdir: webapp | ||
|
||
#Back-end | ||
docker-push-restapi: | ||
name: Push restapi Docker Image to GitHub Packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Publish to Registry | ||
uses: elgohr/[email protected] | ||
with: | ||
name: ${{ github.repository }}/restapi | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.DOCKER_PUSH_TOKEN }} | ||
registry: ${{ env.REGISTRY }} | ||
workdir: restapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Despliegue en Heroku (rama de desarrollo) | ||
|
||
on: | ||
push: | ||
branches: [ develop ] | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
heroku-restapi: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: akhileshns/[email protected] # This is the action | ||
with: | ||
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | ||
heroku_app_name: "dede-es3a-restapi" #Must be unique in Heroku | ||
heroku_email: ${{secrets.HEROKU_EMAIL}} | ||
usedocker: true | ||
appdir: "restapi" # <- This will point to the api folder in your project | ||
|
||
heroku-webapp: | ||
needs: [heroku-restapi] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: akhileshns/[email protected] # This is the action | ||
with: | ||
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | ||
heroku_app_name: "dede-es3a" #Must be unique in Heroku | ||
heroku_email: ${{secrets.HEROKU_EMAIL}} | ||
usedocker: true | ||
appdir: "webapp" # <- This will point to the api folder in your project | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.