Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Copy Short URL' does not work on gh-pages deployment #277

Open
h1alexbel opened this issue Mar 17, 2024 · 0 comments
Open

'Copy Short URL' does not work on gh-pages deployment #277

h1alexbel opened this issue Mar 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@h1alexbel
Copy link
Owner

I'm using this one. Running locally it works seamlessly, however during gh-pages deployment this plugin does not generate any short link. Probably we need to move our deployment from main branch to gh-pages and delegate deployment fully to @rultor. Example (yegor256/blog):

deploy:
  script: |
    export JEKYLL_ENV=production
    LC_ALL=en_US.UTF-8 bundle exec rake
    mkdir ~/.ssh
    mv ../id_rsa ../id_rsa.pub ~/.ssh
    chmod -R 600 ~/.ssh/*
    echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config
    git config --global user.email "rultor@yegor256.com"
    git config --global user.name "Rultor"
    echo -e "chatgpt-translate:\n  api_key_file: $(pwd)/../chatgpt-key.txt" > _config-deploy.yml
    LC_ALL=en_US.UTF-8 jgd


    rvm default 2.7.6 && source /usr/local/rvm/scripts/rvm
    gem install fontcustom
    fontcustom --version
    "$(pwd)/_glyphs/compile.sh" /tmp/icons
    git checkout gh-pages
    git pull
    for e in svg ttf woff eot css; do cp /tmp/icons/icons.${e} css; git add css/icons.${e}; done
    git commit -am 'new glyphs' || echo no changes in glyphs
    git push origin gh-pages
@h1alexbel h1alexbel added the bug Something isn't working label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant