mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-06 03:16:35 -06:00
33 lines
537 B
YAML
33 lines
537 B
YAML
name: github-pages
|
|
|
|
permissions:
|
|
pages: write
|
|
id-token: write
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
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 |