Format YAML

This commit is contained in:
Jonatan Kłosko 2022-11-30 19:37:15 +01:00
parent d44d5b0f62
commit a6c9e1103c
5 changed files with 12 additions and 15 deletions

View file

@ -1,10 +1,9 @@
name: Preview (build)
on:
pull_request:
types: [opened,synchronize,reopened,closed]
types: [opened, synchronize, reopened, closed]
jobs:
build-application:
name: Build PR image
runs-on: ubuntu-latest
@ -36,7 +35,6 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
render-compose-file:
name: Render Docker Compose file
# Pass output of this workflow to another triggered by `workflow_run` event.

View file

@ -7,7 +7,6 @@ on:
types:
- completed
jobs:
cache-compose-file:
name: Cache Docker Compose file
@ -16,7 +15,7 @@ jobs:
compose-file-cache-key: ${{ env.COMPOSE_FILE_HASH }}
pr-number: ${{ env.PR_NUMBER }}
steps:
- name: 'Download artifacts'
- name: "Download artifacts"
# Fetch output (zip archive) from the workflow run that triggered this workflow.
uses: actions/github-script@v6
with:
@ -37,7 +36,7 @@ jobs:
});
let fs = require('fs');
fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/preview-spec.zip`, Buffer.from(download.data));
- name: 'Unzip artifact'
- name: "Unzip artifact"
run: unzip preview-spec.zip
- name: Read Event into ENV
run: |