Skip to content

Commit

Permalink
ci: improvements to the publish workflow (#77)
Browse files Browse the repository at this point in the history
- Get SUI from correct faucet. 🤦 
- Only keep debug logs for site-builder and walrus.
- Remove colors.
  • Loading branch information
mlegner authored Jun 18, 2024
1 parent 45057d5 commit ea86d74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
SUI_CONFIG_DIR: /home/runner/.sui/sui_config
SUI_KEYSTORE_FILE: /home/runner/.sui/sui_config/sui.keystore
SUI_CONFIG_FILE: /home/runner/.sui/sui_config/client.yaml
# Colors don't seem to work properly with the multiline commands.
NO_COLOR: 1
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build-mdbook
Expand All @@ -77,7 +79,7 @@ jobs:
echo '${{ secrets.SUI_KEYSTORE }}' > $SUI_KEYSTORE_FILE
- name: Get SUI from faucet
run: >
curl --location --request POST 'https://faucet.devnet.sui.io/gas'
curl --location --request POST 'https://faucet.testnet.sui.io/gas'
--header 'Content-Type: application/json'
--data-raw "{
\"FixedAmountRequest\": {
Expand Down Expand Up @@ -105,7 +107,7 @@ jobs:
- name: Update Walrus Site
run: >
RUST_LOG=debug
RUST_LOG=site_builder=debug,walrus=debug,info
site-builder
--config walrus-sites/site-builder/assets/builder-example.yaml
update build/html ${{ vars.WALRUS_SITE_OBJECT }}

0 comments on commit ea86d74

Please sign in to comment.