mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-03-18 08:09:40 +00:00
Initial commit
This commit is contained in:
1
awesome/awesome-wm-widgets/.github/CODEOWNERS
vendored
Normal file
1
awesome/awesome-wm-widgets/.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@streetturtle
|
||||
1
awesome/awesome-wm-widgets/.github/FUNDING.yml
vendored
Normal file
1
awesome/awesome-wm-widgets/.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
github: streetturtle
|
||||
30
awesome/awesome-wm-widgets/.github/workflows/build.yml
vendored
Normal file
30
awesome/awesome-wm-widgets/.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: luacheck
|
||||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the master branch
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
paths:
|
||||
- '**.lua'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run Luacheck
|
||||
uses: nebularg/actions-luacheck@v1.1.0
|
||||
43
awesome/awesome-wm-widgets/.github/workflows/update-site.yml
vendored
Executable file
43
awesome/awesome-wm-widgets/.github/workflows/update-site.yml
vendored
Executable file
@@ -0,0 +1,43 @@
|
||||
name: update site
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- '**/README.md'
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Generate md
|
||||
run: ./scripts/update_site.sh
|
||||
|
||||
- name: Push to gh-pages branch
|
||||
run: |
|
||||
git config --global user.name 'GitHub Action'
|
||||
git config --global user.email 'action@github.com'
|
||||
git add ./_widgets
|
||||
git add ./assets/img/widgets
|
||||
git stash
|
||||
git fetch
|
||||
echo "git checkout gh-pages"
|
||||
git checkout gh-pages
|
||||
rm -rf ./_widgets
|
||||
rm -rf ./assets/img/widgets
|
||||
ls -alF
|
||||
echo "git stash pop"
|
||||
git checkout stash -- ./_widgets
|
||||
git checkout stash -- ./assets/img/widgets
|
||||
git add ./_widgets
|
||||
git add ./assets/img/widgets
|
||||
git commit -m "update from master"
|
||||
git push origin gh-pages
|
||||
|
||||
Reference in New Issue
Block a user