diff --git a/.github/workflows/unstable.yml b/.github/workflows/unstable.yml index 5b58aca..f3fbf0e 100644 --- a/.github/workflows/unstable.yml +++ b/.github/workflows/unstable.yml @@ -24,8 +24,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - with: - ref: main - name: Install Glfw3 run: | sudo apt-get update @@ -55,6 +53,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + with: + ref: web - name: Compile HTML run: | export LINUX_DOWNLOAD_HREF=${{ needs.unstable-linux.outputs.artifact_link }} @@ -65,10 +65,10 @@ jobs: - name: Push generated webpage to another repository uses: cpina/github-action-push-to-another-repository@main env: - API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} + SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} with: source-directory: "." destination-github-username: "sithumonline" destination-repository-name: "json_x_preview" - user-email: "${{ needs.unstable-linux.outputs.sha_short }}+github-actions[bot]@users.noreply.github.com" - user-name: "${{ needs.unstable-linux.outputs.sha_short }}+github-actions[bot]" + user-email: "github-actions[bot]@users.noreply.github.com" + user-name: "github-actions[bot]" \ No newline at end of file