Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Jehosephat/gala-faucet
Browse files Browse the repository at this point in the history
  • Loading branch information
Jehosephat committed Sep 13, 2024
2 parents 4a6aa7b + b152475 commit cd0f4e2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy to GitHub Pages

on:
push:
branches: [ main ]

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install Dependencies
run: npm ci

- name: Build
env:
VITE_MAINNET_API: ${{ secrets.VITE_MAINNET_API }}
VITE_TESTNET_API: ${{ secrets.VITE_TESTNET_API }}
VITE_FAUCET_MULTIPLIER: ${{ secrets.VITE_FAUCET_MULTIPLIER }}
VITE_FAUCET_ADMIN_PRIVATE_KEY: ${{ secrets.VITE_FAUCET_ADMIN_PRIVATE_KEY }}
run: npm run build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

0 comments on commit cd0f4e2

Please sign in to comment.