Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sati 恕舜 authored Dec 24, 2023
1 parent b0d8e35 commit 0a96bf2
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
environment: DeployBot

steps:
- name: Checkout Repository
Expand All @@ -24,14 +25,12 @@ jobs:
- name: Build
run: npm run build

# - name: Obtain BOT-ACCESS-TOKEN
# id: get_bot_access_token
# run: node dist/bot-login.js

# - name: Set BOT_ACCESS_TOKEN as a secret
# run: echo "BOT_ACCESS_TOKEN=${{ env.BOT_ACCESS_TOKEN }}" >> $GITHUB_ENV

- name: Run Matrix Bot
run: node dist/basic-bot.js

env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
BOT_HOMESERVER: ${{ secrets.BOT_HOMESERVER }}
BOT_USERNAME: ${{ secrets.BOT_USERNAME }}
BOT_PASSWORD: ${{ secrets.BOT_PASSWORD }}
BOT_STORE: ${{ secrets.BOT_STORE }}
BOT_CRYPT: ${{ secrets.BOT_CRYPT }}
BOT_ACCESS_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}

0 comments on commit 0a96bf2

Please sign in to comment.