From 69caf913ed6decf10d39448483e5554083ecdabd Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 3 Oct 2024 19:37:26 -0500 Subject: [PATCH] Add GitHub Pages deployment workflow --- .github/workflows/pages.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/pages.yaml diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml new file mode 100644 index 0000000..832d90a --- /dev/null +++ b/.github/workflows/pages.yaml @@ -0,0 +1,32 @@ +name: GitHub Pages + +permissions: + pages: write + id-token: write + +on: + push: + branches: + - master + paths: + - run.sh + - run.ps1 + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Prepare + run: | + mkdir -p ./site + cp ./run.ps1 ./site + cp ./run.sh ./site + + - uses: actions/upload-pages-artifact@v3 + with: + path: ./site + + - name: Deploy + uses: actions/deploy-pages@v4 \ No newline at end of file