Skip to content

Commit

Permalink
Add actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubAndrysek committed Oct 27, 2023
1 parent 74a7b77 commit fdcfd3a
Show file tree
Hide file tree
Showing 3 changed files with 8,608 additions and 2 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/gulp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Gulp Build and Deploy

on:
push:
branches:
- master # Trigger the workflow on push to the master branch. Adjust if needed.

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
npm install
npm install gulp gulp-images-resizer --save-dev
- name: Run gulp build
run: gulp build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
Loading

0 comments on commit fdcfd3a

Please sign in to comment.