File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,29 +2,22 @@ name: Build and Deploy Docs
22
33on :
44 push :
5- branches :
6- - master
5+ branches-ignore :
6+ - ' ! master'
77 paths-ignore :
8- - ' docs/**'
9- - ' .github/**'
8+ - ' docs/**'
9+ - ' .github/**'
1010
1111env :
12- VERSION : ' 0 .0.0'
12+ VERSION : ' 1 .0.0-beta-6 '
1313
1414jobs :
1515 build :
1616 runs-on : ubuntu-latest
1717 steps :
1818 - uses : actions/checkout@v2
1919 with :
20- persist-credentials : false
21- - name : Get current version
22- id : currentVersion
23- uses : " WyriHaximus/github-action-get-previous-tag@master"
24- env :
25- GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
26- - name : Set version env
27- run : echo "::set-env name=VERSION::${steps.currentVersion.outputs.tag\/v/}"
20+ persist-credentials : false
2821 - name : Update tokens in project files
2922 uses : cschleiden/replace-tokens@v1
3023 with :
You can’t perform that action at this time.
0 commit comments