diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2fd0d0b..788c811 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,10 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.1 + - uses: LuisEnMarroquin/setup-ssh-action@v2.0.0 + with: + SSHKEY: ${{ secrets.SSH }} + - run: git clone git@github.com:LuisEnMarroquin/json-as-xlsx.git . - name: Build JavaScript file run: | npm ci --no-optional @@ -42,7 +45,7 @@ jobs: - run: npm ci - run: npm run build - run: npm run build-client - - uses: JamesIves/github-pages-deploy-action@4.1.6 + - uses: LuisEnMarroquin/gh-pages-publish@v2.4.4 with: - folder: dist - branch: gh-pages + FOLDER: dist + SSHKEY: ${{ secrets.SSH }}