Skip to content

Commit

Permalink
github pages fix
Browse files Browse the repository at this point in the history
  • Loading branch information
burtonjong committed Sep 15, 2024
1 parent b0f0223 commit 88cc0b9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy Website

on:
push:
branches: [ 'master' ]
branches: ["master"]

jobs:
build:
Expand All @@ -12,36 +12,40 @@ jobs:
- run: echo "🐧 This job is now running on a ${{ runner.os }} server."
- uses: actions/checkout@v2
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: '16.x'
cache: 'npm'
node-version: "16.x"
cache: "npm"
- run: npm install --force
- run: npm install -g @angular/cli
- run: npm install --save-dev @angular/cli
- run: npm run lint
- run: npm run build:ci
- run: pwd
- run: ls -alh
- name: Archive build
if: success()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: deploy_dist
path: dist

deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
persist-credentials: false
persist-credentials: true
- name: Download build
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: deploy_dist
- run: ls -alh
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: deploy_dist
FOLDER: dist
2 changes: 1 addition & 1 deletion src/app/business/recruitment/recruitment.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1 class="infoTitle">Information Nights</h1>
<p class="infoText">
<!-- Add information night details if needed -->
Come visit us on <br />
September 13th, 16th, 19th at 5:30 PM <br />
September 13th, 19th at 5:30 PM <br />
in ENGG Lounge (ENE 134)
</p>
</div>
Expand Down

0 comments on commit 88cc0b9

Please sign in to comment.