mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-10 12:08:42 -06:00
Add GitHub Pages deployment workflow
This commit is contained in:
32
.github/workflows/pages.yaml
vendored
Normal file
32
.github/workflows/pages.yaml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user