Skip to content

Commit

Permalink
restore workflow + remove debugging leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Feb 27, 2025
1 parent 3538b7f commit 6898f1e
Showing 1 changed file with 14 additions and 26 deletions.
40 changes: 14 additions & 26 deletions .github/workflows/docgen.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
name: Documentation

on:
pull_request:
paths-ignore:
- 'docs/*'
- '*.yml'
- '*.md'
- 'LICENSE'
# pull_request_target:
# types:
# - closed
# branches:
# - master
pull_request_target:
types:
- closed
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -56,12 +50,6 @@ jobs:
- name: "Install gems"
run: |
gem install commonmarker -v "2.1.0" --platform=ruby
- name: "Debugging"
run: |
ls -la arturo
cd arturo
ruby tools/miniwebize/gfm.rb
- name: "Install prerequisites"
run: |
Expand All @@ -80,15 +68,15 @@ jobs:
arturo ../../tools/miniwebize/webize.art --build --at: ../../tmpdocs
cd ..
# - name: Synchronize
# uses: burnett01/[email protected]
# with:
# switches: -avzr --delete
# path: arturo/tmpdocs/
# remote_path: /var/www/arturo-lang.io/master
# remote_host: arturo-lang.io
# remote_user: root
# remote_key: ${{ secrets.ARTUROLANG }}
- name: Synchronize
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: arturo/tmpdocs/
remote_path: /var/www/arturo-lang.io/master
remote_host: arturo-lang.io
remote_user: root
remote_key: ${{ secrets.ARTUROLANG }}

- name: Upload artifact
uses: 'actions/upload-artifact@v4'
Expand Down

0 comments on commit 6898f1e

Please sign in to comment.