Skip to content

Merge branch 'master' of https://github.com/3dwork-io/3dwork-klipper #357

Merge branch 'master' of https://github.com/3dwork-io/3dwork-klipper

Merge branch 'master' of https://github.com/3dwork-io/3dwork-klipper #357

name: CI - Update Gists from Repository
on: push
permissions:
contents: write
issues: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code for 3dwork-klipper
uses: actions/checkout@v3
## - name: Remove print_area_bed_mesh.cfg
## uses: JesseTG/rm@v1.0.3
## with:
## path: ./macros/print_area_bed_mesh.cfg
## - name: wget
## uses: wei/wget@v1
## with:
## args: -P ./macros/ https://raw.githubusercontent.com/Turge08/print_area_bed_mesh/master/print_area_bed_mesh.cfg
## - name: Add timestamp
## run: |
## now=$(date +"%Y%m%d%H%M")
## timestamp="# Current Version v_${now}"
## find macros -type f ! -name "print_area_bed_mesh.cfg" -exec sed -i "1s/^.*$/${timestamp}/" {} \;
## - name: Commit changes
## run: |
## git config --global user.name "alienboyxp"
## git config --global user.email "jrodriguez@qitec.net"
## git add .
## git commit -m "Added timestamp to files"
## git push "https://${{ github.actor }}:${{ secrets.COMMIT_TOKEN }}@github.com/${{ github.repository }}.git"
- name: Checkout code for Gist
uses: actions/checkout@v3
- name: Creating start_print.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: fe225e1667da13557c270b7e5b73db10
file_path: macros/start_print.cfg
file_type: binary
- name: Creating end_print.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: 1fe5c57b40c09a9d0095d027ffc0f5d7
file_path: macros/end_print.cfg
file_type: binary
- name: Creating macros_config_test_kinematics.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: 194649a9314f8adfceb51ae8b2e80b7b
file_path: macros/macros_config_test_kinematics.cfg
file_type: binary
- name: Creating macros_config_test_speed.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: 194649a9314f8adfceb51ae8b2e80b7b
file_path: macros/macros_config_test_speed.cfg
file_type: binary
- name: Creating var_globals.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: d218917893ba4ba539ce6a0b96499b4b
file_path: macros/var_globals.cfg
file_type: binary
- name: Creating change_filament.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: 2f9b36e9628b67ca8b527c39b8ad1992
file_path: macros/change_filament.cfg
file_type: binary
- name: Creating move_park.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: 8d93aec3888d361fdcdc77a8ce0faad7
file_path: macros/move_park.cfg
file_type: binary
- name: Creating pause.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: c730e8f064f8515efcb87cf9d34ae774
file_path: macros/pause.cfg
file_type: binary
- name: Creating resume.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: 54da6658a58624ecff466afaebfc7004
file_path: macros/resume.cfg
file_type: binary
- name: Creating cancel_print.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: 7755e06ccbbbf7029983745ceb43651a
file_path: macros/cancel_print.cfg
file_type: binary
- name: Creating macros_config_pid.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: cc85203280134fe433f7dfd7f1416720
file_path: macros/macros_config_pid.cfg
file_type: binary
- name: Creating pause_at_layer.cfg Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: 1cc0e0f0006bed2f22d17846a276db60
file_path: macros/pause_at_layer.cfg
file_type: binary
- name: Creating 3dwork-autocommit.sh Gist
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.TOKEN }}
gist_id: 23dc0ed2c7a4279957b74ec6dc587bb4
file_path: scripts/3dwork-autocommit.sh
file_type: binary