Skip to content

Merge branch 'main' of https://github.com/mp-se/gofree-socket #10

Merge branch 'main' of https://github.com/mp-se/gofree-socket

Merge branch 'main' of https://github.com/mp-se/gofree-socket #10

Workflow file for this run

name: PlatformIO CI
on:
pull_request:
push:
branches:
- main
jobs:
vue-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
- run: npm install
- run: npm run build
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version. https://github.com/marketplace/actions/add-commit
with:
add: 'dist'
author_name: GitHub Action
author_email: mp-se@noreply.github.com
default_author: github_actor
message: 'GitHub Action Build'
pathspec_error_handling: ignore
# - name: Commit documentation changes
# run: |
# pwd
# ls -al
# ls -al dist
# git clone https://github.com/mp-se/gofree-socket.git --branch ghpages --single-branch ghpages
# mkdir -p ghpages
# cp -r dist/* ghpages/
# cd ghpages
# touch index.html
# git config --local user.email "action@noreply.github.com"
# git config --local user.name "GitHub Action"
# git add .
# git commit -m "Update deployment" -a || true
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# branch: ghpages
# directory: ghpages
# github_token: ${{ secrets.GITHUB_TOKEN }}