mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
21 lines
603 B
Plaintext
21 lines
603 B
Plaintext
# .github/workflows/github-actions-change-variable.yml
|
|
name: Variable Substitution
|
|
on:
|
|
# Triggers the workflow on push or pull request events but only for the main branch
|
|
push:
|
|
branches: [ docs ]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: microsoft/variable-substitution@v1
|
|
with:
|
|
files: 'docs/_config.yml'
|
|
env:
|
|
recaptcha_site_key: "6LfKJsMfAAAAAFLjDTY0PG9RdcpLBuiuoFNyQLsh"
|
|
ga_tracking: "UA-5555555-55" |