diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 62e0fcf3..8dce8308 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -7,7 +7,7 @@ on: jobs: deploy: - runs-on: bingo + runs-on: bp-runner defaults: run: working-directory: /var/www/aihomework/boilerplate/dev @@ -28,22 +28,22 @@ jobs: run: | git remote rm action - - name: Stash or remove local changes - run: | - if git diff --quiet; then - echo "No local changes to stash." - else - echo "Stashing local changes..." - git stash --include-untracked || echo "Failed to stash changes. Attempting to reset..." - git reset --hard || exit 1 - fi + # - name: Stash or remove local changes + # run: | + # if git diff --quiet; then + # echo "No local changes to stash." + # else + # echo "Stashing local changes..." + # git stash --include-untracked || echo "Failed to stash changes. Attempting to reset..." + # git reset --hard || exit 1 + # fi - name: Pull from GitHub id: pull run: | remote_repo="https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" - git remote add action $remote_repo - git pull action dev + # git remote add action $remote_repo + git clone $remote_repo dev - name: Install dependencies run: yarn install --frozen-lockfile