Skip to content

Update GHA (#219)

Update GHA (#219) #1

Workflow file for this run

name: integration
on:
push:
branches: [ master ]
jobs:
changes:
runs-on: ubuntu-latest
outputs:
aepp: ${{ steps.changes.outputs.aepp }}
server: ${{ steps.changes.outputs.server }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
aepp:
- 'aepp/**'
server:
- 'server/**'
publish-aepp:
needs: [changes]
if: ${{ needs.changes.outputs.aepp == 'true' }}
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@2.0.0

Check failure on line 26 in .github/workflows/integration.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/integration.yml

Invalid workflow file

error parsing called workflow ".github/workflows/integration.yml" -> "aeternity/github-actions/.github/workflows/_publish-docker.yml@2.0.0" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
secrets: inherit
with:
FILE: ./aepp/Dockerfile
CONTEXT: ./aepp
BUILD_ARGS: COMMAND=stg
DOCKERHUB_REPO: "aeternitybot/aepp-graffiti"
deploy-aepp:
needs: [changes, publish-aepp]
if: ${{ needs.changes.outputs.aepp == 'true' }}
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.1.0
secrets: inherit
with:
DEPLOY_ENV: stg
DEPLOY_APP: aepp-graffiti
DEPLOY_VERSION: ${{ github.ref_name }}
DEPLOY_SUBDOMAIN: graffiti
publish-server:
needs: [changes]
if: ${{ needs.changes.outputs.server == 'true' }}
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@2.0.0
secrets: inherit
with:
FILE: ./server/Dockerfile
CONTEXT: ./server
DOCKERHUB_REPO: "aeternitybot/graffiti-server"
deploy-server:
needs: [changes, publish-server]
if: ${{ needs.changes.outputs.server == 'true' }}
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.1.0
secrets: inherit
with:
DEPLOY_ENV: stg
DEPLOY_APP: graffiti-server
DEPLOY_VERSION: ${{ github.ref_name }}