Merge pull request #1406 from Conflux-Chain/dev #1180
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Dapp Demo | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- dev | |
jobs: | |
deploy-dapp-demo: | |
if: ${{ github.event.pull_request.merged == true && github.head_ref == '__release-pkg' }} | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [16.14] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Deploy to dapp-demo.fluentwallet.dev | |
uses: dswistowski/surge-sh-action@v1 | |
with: | |
domain: "dapp-demo.fluentwallet.dev" | |
project: "./examples/basic-dapp/" | |
login: ${{ secrets.CONFLUX_ECO_SURGE_LOGIN}} | |
token: ${{ secrets.CONFLUX_ECO_SURGE_TOKEN}} |