specify bash shell in workflow
This commit is contained in:
parent
055d6f912c
commit
f8e96a2bdb
1 changed files with 5 additions and 3 deletions
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
|
@ -13,8 +13,10 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
- name: Create a new build
|
- name: Create a new build
|
||||||
|
shell: bash
|
||||||
run: docker build -t publisher:latest -f ./dockerfiles/Deploy.Dockerfile .
|
run: docker build -t publisher:latest -f ./dockerfiles/Deploy.Dockerfile .
|
||||||
- name: Deploy to gh-pages branch
|
- name: Deploy to gh-pages branch
|
||||||
|
shell: bash
|
||||||
env:
|
env:
|
||||||
REPOSITORY_TOKEN: ${{ secrets.REPOSITORY_TOKEN }}
|
REPOSITORY_TOKEN: ${{ secrets.REPOSITORY_TOKEN }}
|
||||||
PUBLISHER_NAME: ${{ secrets.PUBLISHER_NAME }}
|
PUBLISHER_NAME: ${{ secrets.PUBLISHER_NAME }}
|
||||||
|
@ -22,7 +24,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
-e REPOSITORY_TOKEN="$env:REPOSITORY_TOKEN" \
|
-e REPOSITORY_TOKEN="$REPOSITORY_TOKEN" \
|
||||||
-e PUBLISHER_NAME="$env:PUBLISHER_NAME" \
|
-e PUBLISHER_NAME="$PUBLISHER_NAME" \
|
||||||
-e PUBLISHER_EMAIL="$env:PUBLISHER_EMAIL" \
|
-e PUBLISHER_EMAIL="$PUBLISHER_EMAIL" \
|
||||||
publisher:latest
|
publisher:latest
|
||||||
|
|
Loading…
Reference in a new issue