Skip to content

Commit

Permalink
Merge pull request #94 from DFXswiss/develop
Browse files Browse the repository at this point in the history
add prd secrets
  • Loading branch information
TaprootFreak authored Sep 25, 2024
2 parents 445f958 + 7fb152c commit 2196577
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/prd.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to Github Pages
name: Deploy to All-Inkl

on:
push:
Expand All @@ -8,18 +8,9 @@ on:
env:
NODE_VERSION: '16.x'

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build-and-deploy:
name: Build, and deploy to Github Pages
name: Build, and deploy to All-Inkl
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -38,14 +29,10 @@ jobs:
run: |
npm run build
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
- name: Deploy to All-Inkl
uses: SamKirkland/[email protected]
with:
path: 'src/.vuepress/dist/'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
server: ${{ secrets.PRD_HOST }}
username: ${{ secrets.PRD_USER }}
password: ${{ secrets.PRD_PASSWORD }}
local-dir: './src/.vuepress/dist/'

0 comments on commit 2196577

Please sign in to comment.