Skip to content

Commit

Permalink
WIP pages
Browse files Browse the repository at this point in the history
  • Loading branch information
v6ak committed Oct 12, 2023
1 parent cbbfdc3 commit bcb6150
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml → .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
branches:
- feature/github-build
- master
- devel
pull_request:
branches:
- master
- devel
schedule:
- cron: "5 4 2 * *"
jobs:
Expand All @@ -26,6 +28,17 @@ jobs:
with:
name: site
path: pack.zip
- name: Repack as tar.gz
run: mkdir pack &&
cd pack &&
unzip ../pack.zip &&
mv statistiky/years.json{.new,} &&
tar cvf ../pack.tar .
- name: Upload Github Pages artifact
uses: actions/upload-artifact@v3
with:
name: github-pages
path: pack.tar

test-bleeding-edge-java-and-npm:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -68,3 +81,15 @@ jobs:

- name: Compare artifacts
run: diff --exclude="*.gz" -r build/unpacked verification/unpacked


deploy-to-github-pages:
needs: [build]
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit bcb6150

Please sign in to comment.