From 0b8f7cd767349a241abad5d2fc01da22a4568183 Mon Sep 17 00:00:00 2001 From: homoluctus Date: Mon, 16 Sep 2019 02:50:24 +0900 Subject: [PATCH] fix: modify to checkout remotes/origin/releases/v1 --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57911a110..78407efae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v1 with: - ref: remotes/origin/develop + ref: remotes/origin/releases/v1 - name: Git checkout run: git checkout -b releases/v1 @@ -28,14 +28,14 @@ jobs: - name: NPM build run: npm run build + - name: Not ignore node_modules + run: sed -e '/node_modules*/d' .gitignore + - name: Install dependencies for production run: | rm -rf node_modules npm install --production - - name: Not ignore node_modules - run: sed -e '/node_modules*/d' .gitignore - - name: Setup git env: ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}