Skip to content

Commit

Permalink
Merge pull request #14 from localzet-dev/multiple
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
localzet authored Jan 24, 2024
2 parents d1763d1 + 68a86a4 commit c1ced75
Show file tree
Hide file tree
Showing 21,137 changed files with 95,386 additions and 88 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
37 changes: 0 additions & 37 deletions .github/workflows/jekyll-gh-pages.yml

This file was deleted.

70 changes: 70 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Setup Node 🔮
uses: actions/setup-node@v3
with:
node-version: "20"

- name: Install Globals 🌟
run: |
npm install --global npm@latest
npm install --global yarn
npm install --global gulp-cli
- name: Install Dependencies 📦
run: |
for dir in ./*/
do
if [ -d "$dir" ]; then
cd "$dir"
if [ -f "package.json" ]; then
echo "Install Dependencies $dir"
yarn
fi
cd ..
fi
done
- name: Build modules 🔧
run: |
for dir in ./*/
do
if [ -d "$dir" ]; then
cd "$dir"
if [ -f "package.json" ]; then
echo "Building $dir"
yarn run build
fi
cd ..
fi
done
- name: Upload artifact ☁️
uses: actions/upload-pages-artifact@v1
with:
path: ./public
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ dist
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
public/
# public/

# vuepress build output
.vuepress/dist
Expand Down Expand Up @@ -125,3 +125,17 @@ public/
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

/public/assets/scripts.js
/public/assets/styles.css
/public/assets/js
/public/assets/css
/public/assets/media

/public/git/assets/js
/public/git/assets/css
/public/git/assets/fonts
/public/git/assets/licenses.txt
/public/git/assets/img/webpack

/public/metronic
Loading

0 comments on commit c1ced75

Please sign in to comment.