10 runs-on: ubuntu-latest
12 - uses: actions/checkout@v4
14 - name: Install GNU Global
15 run: sudo apt-get install -y global exuberant-ctags python3-pygments
17 - name: Checkout source repo
18 uses: actions/checkout@v4
20 repository: MidnightCommander/source
23 ssh-key: ${{ secrets.SOURCE_DEPLOY_KEY }}
25 - name: Create sources index
32 htags --suggest -t "Welcome to the Midnight Commander source tour!"
35 - name: Deploy to GitHub
40 echo "source.midnight-commander.org" > CNAME
42 git config user.name "GitHub Actions"
43 git config user.email "github@midnight-commander.org"
46 git commit -m "Deploy to GitHub Pages"
48 git push --force-with-lease