forked from wikiadventure/wikiadventu.re
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 1.25 KB
/
DeployFrontToNetlify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Deploy front to Netlify
on:
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Netlify Actions
# You may pin to the exact commit or the version.
# uses: nwtgck/actions-netlify@b7c1504e00c6b8a249d1848cc1b522a4865eed99
uses: nwtgck/[email protected]
with:
publish-dir: "front"
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
DIST_DIR: "dist"
API_ROOT: "https://api.wikiadventu.re"
ADMIN_PASSWORD: ${{secrets.ADMIN_PASSWORD}}
TWITCH_BOT_USERNAME: ${{secrets.TWITCH_BOT_USERNAME}}
TWITCH_BOT_PASSWORD: ${{secrets.TWITCH_BOT_PASSWORD}}
TWITCH_CLIENT_ID: ${{secrets.TWITCH_CLIENT_ID}}
TWITCH_CLIENT_SECRET: ${{secrets.TWITCH_CLIENT_SECRET}}
TWITCH_REDIRECT_URL: ${{secrets.TWITCH_REDIRECT_URL}}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}