Skip to content

Commit

Permalink
Added updated branch build file
Browse files Browse the repository at this point in the history
  • Loading branch information
miraz12 committed Oct 3, 2023
1 parent f5f2f4f commit 107b27c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/webpack_updated.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and publish develop

on:
push:
branches: ["updated"]
pull_request:
branches: ["updated"]

jobs:
build:
runs-on: self-hosted

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3

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

- name: Build
run: |
PATH=/run/wrappers/bin:/root/.nix-profile/bin:/etc/profiles/per-user/root/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:$PATH
npm install
npm run build
rm -rf /var/www/updated.rlyeh.nu/*
rsync -og -r out/* /var/www/updated.rlyeh.nu/

0 comments on commit 107b27c

Please sign in to comment.