Skip to content

Commit

Permalink
fix: modify to checkout remotes/origin/releases/v1
Browse files Browse the repository at this point in the history
  • Loading branch information
homoluctus committed Sep 15, 2019
1 parent 1cdfb35 commit 0b8f7cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 0b8f7cd

Please sign in to comment.