diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml new file mode 100644 index 0000000..318dd09 --- /dev/null +++ b/.forgejo/workflows/deploy.yml @@ -0,0 +1,31 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: node-20 + steps: + - name: Checkout + uses: https://code.forgejo.org/actions/checkout@v4 + + - name: Install dependencies + run: | + apt-get update && apt-get install -y python3-pip + pip install --break-system-packages -r requirements.txt + + - name: Build site + run: python3 generate.py + + - name: Deploy to Cloudflare Pages + env: + CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} + CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + run: | + npx wrangler pages project create ${{ secrets.CF_PAGES_PROJECT_NAME }} --production-branch=main 2>/dev/null || true + npx wrangler pages deploy dist/ \ + --project-name=${{ secrets.CF_PAGES_PROJECT_NAME }} \ + --commit-dirty=true diff --git a/data.yaml b/data.yaml index e95fe03..72fdbd3 100644 --- a/data.yaml +++ b/data.yaml @@ -307,21 +307,21 @@ presentations: - "Oral Presentation" - "PNCS17" links: - Slides: "https://github.com/Logan-Lin/homepage/blob/main/assets/pncs17-slides.pdf" + Slides: "https://git.yanlincs.com/yanlin/homepage/src/branch/main/assets/pncs17-slides.pdf" - title: "Self-supervised Learning of Trajectory Data" tags: - "Guest lecture" - "Aalborg University" links: - Slides: "https://github.com/Logan-Lin/homepage/blob/main/assets/Self-supervised%20Learning%20of%20Trajectory%20Data.pdf" + Slides: "https://git.yanlincs.com/yanlin/homepage/src/branch/main/assets/Self-supervised%20Learning%20of%20Trajectory%20Data.pdf" - title: "PLM4Traj: Leveraging Pre-trained Language Models for Cognizing Movement Patterns and Travel Purposes from Trajectories" tags: - "Workshop presentation" - "KDD 2024" links: - Slides: "https://github.com/Logan-Lin/homepage/blob/main/assets/KDD_2024_Workshop_PLM4Traj.pdf" + Slides: "https://git.yanlincs.com/yanlin/homepage/src/branch/main/assets/KDD_2024_Workshop_PLM4Traj.pdf" Paper: "https://arxiv.org/abs/2405.12459" - title: "Origin-Destination Travel Time Oracle for Map-based Services" @@ -329,21 +329,21 @@ presentations: - "Paper Oral" - "SIGMOD 2024" links: - Slides: "https://github.com/Logan-Lin/homepage/blob/main/assets/SIGMOD-Oral-PPT.pdf" + Slides: "https://git.yanlincs.com/yanlin/homepage/src/branch/main/assets/SIGMOD-Oral-PPT.pdf" - title: "Self-supervised Learning of Spatial-temporal Trajectories" tags: - "Tutorial" - "SpatialDI 2024" links: - Slides: "https://github.com/Logan-Lin/homepage/blob/main/assets/Talk%20on%20SpatialDI%202024.pdf" + Slides: "https://git.yanlincs.com/yanlin/homepage/src/branch/main/assets/Talk%20on%20SpatialDI%202024.pdf" - title: "Pre-training Context and Time Aware Location Embeddings from Spatial-Temporal Trajectories for User Next Location Prediction" tags: - "Paper Oral" - "AAAI 2021" links: - Slides: "https://github.com/Logan-Lin/homepage/blob/main/assets/AAAI21%20Oral%20PPT.pdf" + Slides: "https://git.yanlincs.com/yanlin/homepage/src/branch/main/assets/AAAI21%20Oral%20PPT.pdf" services: - "IEEE, ACM member"