mirror of
https://github.com/Luzifer/stadt-land-fluss.git
synced 2024-12-20 14:51:16 +00:00
Add GH Page publishing
This commit is contained in:
parent
9b010bc8c6
commit
5c23042ad9
1 changed files with 41 additions and 0 deletions
41
.github/workflows/publish.yml
vendored
Normal file
41
.github/workflows/publish.yml
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
|
||||
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
|
||||
|
||||
...
|
Loading…
Reference in a new issue