We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58be1ca commit aea4e8eCopy full SHA for aea4e8e
.github/workflows/main.yml
@@ -15,9 +15,7 @@ jobs:
15
with:
16
node-version: 10.x
17
18
- - name: Prepare and deploy
19
- env:
20
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Prepare
21
run: |
22
cd src
23
npm install --silent
@@ -31,4 +29,11 @@ jobs:
31
29
cd your-angular-project
32
30
npm link angular-cli-ghpages
33
ng add angular-cli-ghpages
+
+ - name: Deploy
34
+ if: github.ref == 'refs/heads/master'
35
+ env:
36
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
+ run: |
38
+ cd src
39
ng deploy --no-silent --name="The Buildbot" --email="[email protected]"
0 commit comments