Skip to content

Commit

Permalink
Added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Specy committed Apr 8, 2024
1 parent e583e92 commit f374704
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.17.0
node-version: 20.2.0
- name: Build
run: npm i && npm run build:all
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployBeta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.17.0
node-version: 20.2.0
- name: Build
run: npm i && npm run build:all
env:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/deployBetaSingleDomain.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Beta Deploy
on:
push:
branches:
- Dev
workflow_dispatch:
inputs:
version:
description: Void
default: v0
required: false

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.2.0
- name: Build
run: npm i && npm run build:all
env:
CI: false
NEXT_PUBLIC_IS_BETA: true
- name: Publish Genshin/Sky Music Nightly Beta as single domain
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_PAGES_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages publish ./build/ --project-name=music-apps-beta

0 comments on commit f374704

Please sign in to comment.