Skip to content

Commit

Permalink
Merge pull request #15 from ember-learn/turn-off-gh-pages
Browse files Browse the repository at this point in the history
stop deploying to gh-pages since we're using netlify
jaredgalanis authored Jul 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents ce8be1c + e9fbe74 commit 63fbf2a
Showing 3 changed files with 2 additions and 2,246 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -56,37 +56,3 @@ jobs:
PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }}
PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }}
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}


deploy-app:
name: Deploy app
needs: [lint, test-app]
runs-on: ubuntu-latest
timeout-minutes: 5
# Only run on pushes to main branch that aren't from the cron workflow
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v3

- name: Set a Git user
run: |
# Set a Git user for committing
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
# Copy the Git Auth from the local config
git config --global "http.https://github.com/.extraheader" \
"$(git config --local --get http.https://github.com/.extraheader)"
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
run: npm install --frozen-lockfile

- name: Deploy
run: npm run deploy
2,210 changes: 2 additions & 2,208 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@
},
"scripts": {
"build": "ember build --environment=production",
"deploy": "ember deploy production",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
"lint:dependency": "ember dependency-lint",
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
@@ -43,9 +42,6 @@
"ember-cli-babel": "^7.26.11",
"ember-cli-dependency-checker": "^3.3.1",
"ember-cli-dependency-lint": "^2.0.1",
"ember-cli-deploy": "^1.0.2",
"ember-cli-deploy-build": "^2.0.0",
"ember-cli-deploy-git": "^1.3.4",
"ember-cli-fastboot": "^3.3.1",
"ember-cli-htmlbars": "^6.0.1",
"ember-cli-inject-live-reload": "^2.1.0",

0 comments on commit 63fbf2a

Please sign in to comment.