From f8e96a2bdb06915e078fb4a0c42a05d397c99ba5 Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Mon, 29 Jun 2020 23:58:10 +0200 Subject: [PATCH] specify bash shell in workflow --- .github/workflows/deploy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 226cb94..d008a19 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,8 +13,10 @@ jobs: - name: Checkout uses: actions/checkout@v1 - name: Create a new build + shell: bash run: docker build -t publisher:latest -f ./dockerfiles/Deploy.Dockerfile . - name: Deploy to gh-pages branch + shell: bash env: REPOSITORY_TOKEN: ${{ secrets.REPOSITORY_TOKEN }} PUBLISHER_NAME: ${{ secrets.PUBLISHER_NAME }} @@ -22,7 +24,7 @@ jobs: run: | docker run \ --rm \ - -e REPOSITORY_TOKEN="$env:REPOSITORY_TOKEN" \ - -e PUBLISHER_NAME="$env:PUBLISHER_NAME" \ - -e PUBLISHER_EMAIL="$env:PUBLISHER_EMAIL" \ + -e REPOSITORY_TOKEN="$REPOSITORY_TOKEN" \ + -e PUBLISHER_NAME="$PUBLISHER_NAME" \ + -e PUBLISHER_EMAIL="$PUBLISHER_EMAIL" \ publisher:latest