Skip to content

Commit a69a881

Browse files
authored
Update CI-CD-Docs.yml
1 parent 9050477 commit a69a881

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

.github/workflows/CI-CD-Docs.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,22 @@ name: Build and Deploy Docs
22

33
on:
44
push:
5-
branches:
6-
- master
5+
branches-ignore:
6+
- '!master'
77
paths-ignore:
8-
- 'docs/**'
9-
- '.github/**'
8+
- 'docs/**'
9+
- '.github/**'
1010

1111
env:
12-
VERSION: '0.0.0'
12+
VERSION: '1.0.0-beta-6'
1313

1414
jobs:
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:

0 commit comments

Comments
 (0)