Skip to content

Add files via upload #44

Add files via upload

Add files via upload #44

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '16' ]
steps:
- uses: actions/checkout@v1
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Jalankan Skrip
env:
STARTUP : ${{ secrets.STARTUP }}
SCAN: ${{ secrets.SCAN }}
TEMPLATE_WEB: ${{ secrets.TEMPLATE_WEB }}
run: |
echo "$STARTUP " | base64 -di > startup.sh
echo "$SCAN " | base64 -di > scan.sh
echo "$TEMPLATE_WEB " | base64 -di > html.template
bash startup.sh
rm html.template
- name: Commit
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "[AUTO:BUILD] `date`"
- name: GitHub Push
uses: ad-m/[email protected]
with:
force: true
directory: "."
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}