Skip to content

Commit

Permalink
make compatible with Chrome 38
Browse files Browse the repository at this point in the history
  • Loading branch information
ChlodAlejandro committed Feb 15, 2024
1 parent b323c19 commit 5e3dff7
Show file tree
Hide file tree
Showing 30 changed files with 1,230 additions and 392 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Deploy static content to Pages

on:
push:
branches: ["main"]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Copy public to build
run: cp -r public build
- name: Compile SCSS files
run: |
/usr/bin/find src/ -name '*.scss' | while read -r file
do
OUT_PATH=${file#"src/"}
npx -y sass "$file":"build/${OUT_PATH%".scss"}.css"
done
- name: Upload static build
uses: actions/upload-artifact@v4
with:
name: static
path: build
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
323 changes: 323 additions & 0 deletions build/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/index.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5e3dff7

Please sign in to comment.