Add README #4
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: CI Workflow | |
on: push | |
jobs: | |
gh-page-publish: | |
defaults: | |
run: | |
shell: bash | |
container: | |
image: luzifer/gh-arch-env | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Marking workdir safe | |
run: git config --global --add safe.directory /__w/stadt-land-fluss/stadt-land-fluss | |
- name: Generate static page | |
run: make frontend_prod | |
- name: Upload GitHub Pages artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: dist | |
- name: Deploy artifact | |
uses: actions/deploy-pages@v1 | |
... |