Deploy CI #51
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
name: Deploy CI | |
on: | |
workflow_run: | |
workflows: ["Publish"] | |
types: | |
- completed | |
jobs: | |
build: | |
runs-on: ["ABI-Interoperability"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Authenticate with GitHub Container Registry | |
run: echo "${{ secrets.ACTION_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin | |
- name: Run Docker Compose Pull | |
run: docker-compose -f /home/iacd/joao-guedes/ABI-Interoperability/docker-compose.yaml pull | |
- name: Run Docker Compose Up | |
run: docker-compose -f /home/iacd/joao-guedes/ABI-Interoperability/docker-compose.yaml up -d |