@@ -122,32 +122,25 @@ jobs:
122122 deploy-app :
123123 name : Deploy app
124124 needs : [lint, test-addon-floating, test-addon-locked, test-compatibility]
125+ env :
126+ DEPLOY_KEY : ${{ secrets.DEPLOY_KEY }}
125127 runs-on : ubuntu-latest
126128 timeout-minutes : 7
127129 # Only run on pushes to the default branch
128130 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
129131 steps :
130132 - name : Check out a copy of the repo
131- uses : actions/checkout@v3
132-
133- - name : Set up Git user
134- run : |
135- # Set up a Git user for committing
136- git config --global user.name "GitHub Actions"
137- git config --global user.email "[email protected] " 138-
139- # Copy the Git Auth from the local config
140- git config --global "http.https://github.com/.extraheader" \
141- "$(git config --local --get http.https://github.com/.extraheader)"
142-
133+ uses : actions/checkout@v4
134+ with :
135+ token : ${{ secrets.GITHUB_TOKEN }}
143136 - name : Use Node.js ${{ env.NODE_VERSION }}
144- uses : actions/setup-node@v3
137+ uses : actions/setup-node@v4
145138 with :
146139 node-version : ${{ env.NODE_VERSION }}
147140 cache : pnpm
148141
149142 - name : Install dependencies
150- run : pnpm i --frozen -lockfile
143+ run : pnpm install --no -lockfile
151144
152145 - name : Deploy
153- run : pnpm deploy
146+ run : pnpm ember deploy production
0 commit comments