-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from tykayn/2024-pages
feat: ⚡ add 2024 folder and data about contribution call
- Loading branch information
Showing
64 changed files
with
3,011 additions
and
1,799 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Workflow for building and deploying a static site to GitHub Pages | ||
name: Deploy static site with GitHub Pages dependencies preinstalled | ||
|
||
env: | ||
# Year of site | ||
YEAR: "2024" | ||
|
||
on: | ||
push: | ||
branches: ["master"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./${{ env.YEAR }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v4 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.x" | ||
- run: ls | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Build site | ||
run: npm run build --if-present | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: "./${{ env.YEAR }}/dist" | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
**/node_modules/ | ||
**/package-lock.json | ||
.idea | ||
.idea | ||
*/dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
{ | ||
"name": "sotmfr-2023", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "gulp serve", | ||
"build": "gulp build" | ||
}, | ||
"dependencies": { | ||
"fancy-log": "^1.3.3", | ||
"gulp": "^4.0.2", | ||
"gulp-beautify": "^3.0.0", | ||
"gulp-clean": "^0.4.0", | ||
"gulp-data": "^1.3.1", | ||
"gulp-nunjucks": "^5.1.0", | ||
"gulp-nunjucks": "^6.0.0", | ||
"gulp-nunjucks-render": "^2.2.3" | ||
}, | ||
"devDependencies": { | ||
"browser-sync": "^2.29.3", | ||
"browser-sync": "^3.0.2", | ||
"gulp-header": "^2.0.9" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.