Skip to content

Merge branch 'Rapptz:master' into master #18

Merge branch 'Rapptz:master' into master

Merge branch 'Rapptz:master' into master #18

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: Run & Deploy
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 18
- name: Install Dependencies
run: npm install
- name: Create config.json
id: create-json
uses: jsdaniell/[email protected]
with:
name: "config.json"
json: ${{ secrets.REGISTER_CONF }}
- name: Register Metadata
run: node ./register.js
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
secrets: |
OPEN_COLLECTIVE_CLIENT_ID
OPEN_COLLECTIVE_CLIENT_SECRET
DISCORD_CLIENT_ID
DISCORD_CLIENT_SECRET
DISCORD_WEBHOOK_URL
SECRET_KEY
env:
OPEN_COLLECTIVE_CLIENT_ID: ${{ secrets.OC_CLIENT_ID }}
OPEN_COLLECTIVE_CLIENT_SECRET: ${{ secrets.OC_SECRET }}
DISCORD_CLIENT_ID: ${{ secrets.DC_CLIENT_ID }}
DISCORD_CLIENT_SECRET: ${{ secrets.DC_CLIENT_SECRET }}
DISCORD_WEBHOOK_URL: ${{ secrets.DC_WEBHOOK_URL }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
OPEN_COLLECTIVE_REDIRECT_URL: "https://link.tako-bot.com/open-collective/redirect"
DISCORD_REDIRECT_URL: "https://link.tako-bot.com/discord/redirect"
OPEN_COLLECTIVE_SLUG: "tako"