Skip to content

Commit

Permalink
update: workflow add secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Turmoil committed Oct 3, 2024
1 parent 3afbec8 commit 4ca653a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
# Build job to minify the project
build:
runs-on: windows-latest
runs-on: linux-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -33,6 +33,12 @@ jobs:
run: |
npm install
- name: Add Secret Files
run: |
echo ${{ secrets.NOTIFICATION }} > src/views/components/notification.html
echo ${{ secrets.STATISTICS }} > src/views/components/statistics.html
echo ${{ secrets.SUPPORT }} > src/views/components/support.html
- name: Install Python
uses: actions/setup-python@v2
with:
Expand All @@ -52,7 +58,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: windows-latest
runs-on: linux-latest
needs: build
steps:
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit 4ca653a

Please sign in to comment.