Skip to content

Commit

Permalink
maint: remove obsolete CI/maint and re-implement source index
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
zyv committed Oct 20, 2024
1 parent 267eb5e commit 566f756
Show file tree
Hide file tree
Showing 27 changed files with 48 additions and 275 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/update-sources.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: update-sources

#on:
# push:
# branches:
# - master

on: [ push ]

jobs:
update-sources:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install GNU Global
run: sudo apt-get install -y global exuberant-ctags python-pygments

- name: Checkout source repo
uses: actions/checkout@v4
with:
repository: MidnightCommander/source
path: HTML
ssh-key: { { secrets.SOURCE_DEPLOY_KEY } }

- name: Create sources index
run: |
rm -rf HTML/*
gtags
htags --suggest -t "Welcome to the Midnight Commander source tour!"
./maint/htagsfix
- name: Deploy to GitHub
run: |
cd HTML
touch .nojekyll
echo "source.midnight-commander.org" > CNAME
git init
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add . > /dev/null 2>&1
git commit -m "Deploy to GitHub Pages" > /dev/null 2>&1
git push --force --quiet [email protected]:MidnightCommander/source.git master:gh-pages > /dev/null 2>&1
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

File renamed without changes.
4 changes: 0 additions & 4 deletions maint/docs/COMMIT_PROCEDURE

This file was deleted.

7 changes: 0 additions & 7 deletions maint/docs/README

This file was deleted.

9 changes: 0 additions & 9 deletions maint/docs/systems.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
47 changes: 0 additions & 47 deletions maint/utils/check-indent.sh

This file was deleted.

Binary file removed maint/utils/deploy-key.enc
Binary file not shown.
1 change: 0 additions & 1 deletion maint/utils/deploy-key.pub

This file was deleted.

105 changes: 0 additions & 105 deletions maint/utils/travis-build.sh

This file was deleted.

71 changes: 0 additions & 71 deletions maint/utils/travis-deploy.sh

This file was deleted.

0 comments on commit 566f756

Please sign in to comment.