Skip to content

Commit

Permalink
chore: add example test
Browse files Browse the repository at this point in the history
  • Loading branch information
dfx-json committed Apr 24, 2024
1 parent 8ea1601 commit 0c3921f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/hosting-static-website-example.test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
dfx start --background
pushd hosting/static-website
dfx deploy
popd
10 changes: 2 additions & 8 deletions .github/workflows/hosting-static-website-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ jobs:
run: bash .github/workflows/provision-darwin.sh
- name: Hosting Static Website Darwin
run: |
dfx start --background
pushd hosting/static-website
dfx deploy
popd
.github/workflows/hosting-static-website-example.test.sh
hosting-static-website-linux:
runs-on: ubuntu-20.04
steps:
Expand All @@ -34,7 +31,4 @@ jobs:
run: bash .github/workflows/provision-linux.sh
- name: Hosting Static Website Linux
run: |
dfx start --background
pushd hosting/static-website
dfx deploy
popd
.github/workflows/hosting-static-website-example.test.sh

0 comments on commit 0c3921f

Please sign in to comment.