Skip to content

Merge branch 'master' of https://github.com/landamessenger/git-board-… #120

Merge branch 'master' of https://github.com/landamessenger/git-board-…

Merge branch 'master' of https://github.com/landamessenger/git-board-… #120

Workflow file for this run

name: Prepare Files
on:
push:
branches:
- '**'
- '!master'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
prepare-files:
name: Update compiled files
runs-on: ubuntu-latest
steps:
- name: Set up SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan github.com >> ~/.ssh/known_hosts
- uses: actions/checkout@v4
- name: Switch to SSH
run: git remote set-url origin [email protected]:landamessenger/git-board-flow.git
- name: Set up Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install Dependencies
run: npm install
- name: Build Project
run: npm run build
- name: Commit updated dist directory
uses: EndBug/add-and-commit@v9
with:
add: './dist/'
committer_name: GitHub Actions
committer_email: [email protected]
default_author: user_info
message: 'gh-action: updated compiled files'